import React, {useEffect, useState} from "react";
import {addBtnClickListener} from "@/utils";
import './index.scss';


const DetailMain: React.FC = () => {
    const [msg, setMsg] = useState('');
    useEffect(() => {
        addBtnClickListener(setMsg);
    }, []);
    return (
        <div className='rt-detail-main'>
            detail main,{msg}
        </div>
    )
}

export default DetailMain
